import { ApiProperty } from '@nestjs/swagger';
import { RequestPaginationDto } from 'src/dto/request-pagination.dto';
import { IsEmpty, IsString } from 'class-validator';

export class QueryRolesDto extends RequestPaginationDto {
  @ApiProperty({
    description: '角色名称',
    required: false,
  })
  roleName: string;

  @ApiProperty({
    description: '是否启用',
    required: false,
  })
  off: boolean;
}
